﻿
$(document).ready(function () {


    //    $("#ContentPlaceHolder1_btn_go").click(function () {
    //        var maSanBayDi = $("#ContentPlaceHolder1_ddlSanBayDi").val();
    //        var maSanBayDen = $("#ContentPlaceHolder1_ddlSanBayDen").val();
    //        var thoiGianDi = $("#ContentPlaceHolder1_datepickerdepart").val();
    //        var thoiGianVe = $("#ContentPlaceHolder1_datepickergoing").val();
    //        var type = 0;
    //        var chieu1 = document.getElementsByName("name1")[0];
    //        var khuhoi = document.getElementsByName("name1")[1];
    //        if (chieu1.checked) {
    //            type = 0;
    //        }
    //        if (khuhoi.checked) {
    //            type = 1;

    //        }

    //        window.location = "../TimKiemChuyenBay.aspx?maSanBayDi=" + maSanBayDi + "&maSanBayDen=" + maSanBayDen + "&thoiGianDi=" + thoiGianDi + "&thoiGianDen=" + thoiGianVe + "&type=" + type;
    //        //alert(type);
    //    });
    $("#ContentPlaceHolder1_btnTim").click(function () {
        var IDCustomer = $("#ContentPlaceHolder1_txtMaHoiVien").val();
        var IDTicket = $("#ContentPlaceHolder1_txtMaVe").val();

        var bcus, bticket;
        bcus = bticket = true;

        if (IDCustomer == null || IDCustomer == "") {

            $("#sp-lb-customer").css({ "display": "block" });
            bcus = false;

        }
        else
            $("#sp-lb-customer").css({ "display": "none" });


        if (IDTicket == null || IDTicket == "") {
            $("#sp-lb-ticket").css({ "display": "block" });
            bticket = false

        }
        else
            $("#sp-lb-ticket").css({ "display": "none" });
        if (bcus == false || bticket == false)
            return false;
        else
            return true;
    });


    $("#ContentPlaceHolder1_btnTimHuy").click(function () {
        var soThe = $("#ContentPlaceHolder1_txtsoThe").val();
        var IDTicket = $("#ContentPlaceHolder1_txtMaVe").val();

        var bcus, bticket;
        bcus = bticket = true;

        if (soThe == null || soThe == "") {

            $("#sp-lb-customer").css({ "display": "block" });
            bcus = false;

        }
        else
            $("#sp-lb-customer").css({ "display": "none" });


        if (IDTicket == null || IDTicket == "") {
            $("#sp-lb-ticket").css({ "display": "block" });
            bticket = false

        }
        else
            $("#sp-lb-ticket").css({ "display": "none" });
        if (bcus == false || bticket == false)
            return false;
        else
            return true;
    });

    $("#ContentPlaceHolder1_btnDoiVe").click(function () {

        var IDTicket = $("#ContentPlaceHolder1_txtMaVe").val();

        var bticket;
        bticket = true;




        if (IDTicket == null || IDTicket == "") {
            $("#sp-lb-ticket").css({ "display": "block" });
            bticket = false;

        }
        else
            $("#sp-lb-ticket").css({ "display": "none" });
        if (bticket == false)
            return false;
        else
            return true;
    });

    $("#ContentPlaceHolder1_btnCapNhat").click(function () {

        var hoten = $("#ContentPlaceHolder1_txtHoTen").val();
        var ngaySinh = $("#ContentPlaceHolder1_txtNgaySinh").val();
        var soThe = $("#ContentPlaceHolder1_txtSoThe").val();
        var quocgiacap = $("#ContentPlaceHolder1_txtQuocGiaCap").val();
        var ngayhethan = $("#ContentPlaceHolder1_txtNgayHetHan").val();
        var quoctich = $("#ContentPlaceHolder1_txtQuocTich").val();
        var bhoten;
        var bngaysinh;
        var bsoThe;
        var bquocgiacap;
        var bngayhethan;
        var bquoctich;

        bhoten = bngaysinh = bsoThe = bquocgiacap = bngayhethan = bquoctich = true;

        if (hoten == null || hoten == "") {
            $("#sp-lb-customer1").css({ "display": "block" });
            bhoten = false;

        }
        else
            $("#sp-lb-customer1").css({ "display": "none" });

        if (ngaySinh == null || ngaySinh == "") {
            $("#sp-lb-customer2").css({ "display": "block" });
            bngaysinh = false;

        }
        else
            $("#sp-lb-customer2").css({ "display": "none" });
        if (soThe == null || soThe == "") {
            $("#sp-lb-customer3").css({ "display": "block" });
            bsoThe = false;

        }
        else
            $("#sp-lb-customer3").css({ "display": "none" });

        if (quocgiacap == null || quocgiacap == "") {
            $("#sp-lb-customer4").css({ "display": "block" });
            bquocgiacap = false;

        }
        else
            $("#sp-lb-customer4").css({ "display": "none" });

        if (ngayhethan == null || ngayhethan == "") {
            $("#sp-lb-customer5").css({ "display": "block" });
            bngayhethan = false;

        }
        else
            $("#sp-lb-customer5").css({ "display": "none" });

        if (quoctich == null || quoctich == "") {
            $("#sp-lb-customer6").css({ "display": "block" });
            bquoctich = false;

        }
        else
            $("#sp-lb-customer6").css({ "display": "none" });
        if (bhoten == false || bngaysinh == false || bsoThe == false || bquocgiacap == false || bngayhethan == false || bquoctich == false)
            return false;
        else
            return true;
    });
    $("#ContentPlaceHolder1_btnUpdate").click(function () {

        var email = document.getElementById('ContentPlaceHolder1_txtEmail');
        var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
        var flag;
        falg = true;
        if (!filter.test(email.value)) {
            $("#sp-lb-customer").css({ "display": "block" });
            email.focus;
            flag = false;

        }
        else {
            $("#sp-lb-customer").css({ "display": "none" });

        }
        return flag;
    });

    /*
    Validation booking ticket step 2
    */

    $("#ContentPlaceHolder1_btnDatVeTiepTuc").click(function () {

        var hoten = $("#ContentPlaceHolder1_txtHoTen").val();
        var ngaySinh = $("#ContentPlaceHolder1_txtNgaySinh").val();
        var soThe = $("#ContentPlaceHolder1_txtSoThe").val();
        var ngayhethan = $("#ContentPlaceHolder1_txtNgayHetHan").val();
        var email = document.getElementById('ContentPlaceHolder1_txtEmail');
        var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
        var flag;
        flag = true;

        if (hoten == null || hoten == "") {
            $("#sp-lb-customer1").css({ "display": "block" });
            flag = false;

        }
        else
            $("#sp-lb-customer1").css({ "display": "none" });

        if (ngaySinh == null || ngaySinh == "") {
            $("#sp-lb-customer2").css({ "display": "block" });
            flag = false;

        }
        else
            $("#sp-lb-customer2").css({ "display": "none" });
        if (soThe == null || soThe == "") {
            $("#sp-lb-customer3").css({ "display": "block" });
            flag = false;

        }
        else
            $("#sp-lb-customer3").css({ "display": "none" });


        if (ngayhethan == null || ngayhethan == "") {
            $("#sp-lb-customer5").css({ "display": "block" });
            flag = false;

        }
        else {
            var today = new Date();
            if (Date.parse(ngayhethan) < today.setDate(today.getDate() + 30)) {
                $("#sp-lb-customer5").css({ "display": "block" });
                flag = false;
            }
            else {
                $("#sp-lb-customer5").css({ "display": "none" });
            }
        }

        if (!filter.test(email.value)) {
            $("#sp-lb-customer4").css({ "display": "block" });
            email.focus;
            flag = false;

        }
        else {
            $("#sp-lb-customer4").css({ "display": "none" });

        }

        return flag;

    });



    $("#ContentPlaceHolder1_btnThemMoiLishSu").click(function () {
        var noiDung = $("#ContentPlaceHolder1_txtNoiDung").val();
        var bnoidung;

        bnoidung = true;
        if (noiDung == null || noiDung == "" || noiDung.length >= 1000) {
            $("#sp-lb-customer6").css({ "display": "block" });
            bnoidung = false;

        }
        else
            $("#sp-lb-customer6").css({ "display": "none" });
        return bnoidung;

    });
    /////////////////////////////////////////////////////////////////////////
    $("#ContentPlaceHolder1_ddlSanBayDi").change(function () {

        var sanBay = $("#ContentPlaceHolder1_ddlSanBayDi").val();

        $.ajax({
            type: "POST",
            url: "ThayDoiLichTrinh.aspx/loadSanBayDen",
            data: "{sanBayDi: '" + sanBay + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#ContentPlaceHolder1_ddlSanBayDen").html(msg.d);
            }
        });


    });



    ////////////////////////////////////////////////////////

    $("#ContentPlaceHolder1_ddlSanBayDen").change(function () {

        var sanBay = $("#ContentPlaceHolder1_ddlSanBayDen").val();

        $.ajax({
            type: "POST",
            url: "ThayDoiLichTrinh.aspx/loadSanBayDi",
            data: "{sanBayDen: '" + sanBay + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#ContentPlaceHolder1_ddlSanBayDi").html(msg.d);
            }
        });
    });
    $('#bookingDetailDialog').dialog({ autoOpen: false,
        height: 400,
        width: 950,
        modal: true
    });
    /////////////////////////////
    $('#timKiemChangBay').dialog({ autoOpen: false,
        height: 400,
        width: 1100,
        modal: true
    });
    ////////////////////////
    $('#timKiemMayBay').dialog({ autoOpen: false,
        height: 400,
        width: 1000,
        modal: true
    });
    $('#btn_tim_kiem_may_bay').click(function () {

        $('#timKiemMayBay').dialog("open");
    });
    $('#btn_tim_kiem_chang_bay').click(function () {

        $('#timKiemChangBay').dialog("open");
    });
    /////////////////
    $("#bookingDetailLinkClicked").click(function () {
        var maKhachHang = $("#ContentPlaceHolder1_hidKhachHang").val();

        $.ajax({
            type: "POST",
            url: "ThayDoiLichTrinhB2.aspx/loadVeDaDoiLichTrinh",
            data: "{maKhachHang: '" + maKhachHang + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#bookingDetailDialog").html(msg.d);
            }
        });
        $('#bookingDetailDialog').dialog("open");
    });
    ////////////////////////////////////////////////////////////////////////////////////
    $("#ContentPlaceHolder1_btnSearch_ChangBay").click(function () {
        var maSanBayDi = $("#ContentPlaceHolder1_ddlSanBayDi").val();
        var maSanBayDen = $("#ContentPlaceHolder1_ddlSanBayDen").val();

        $.ajax({
            type: "POST",
            url: "QuanLyChangBay.aspx/timKiemChangBay",
            data: "{maSanBayDi: '" + maSanBayDi + "',maSanBayDen: '" + maSanBayDen + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#result").html(msg.d);
            }
        });

    });
    //////////////////////////////////////////////////////////////////////////////////
    $("#ContentPlaceHolder1_btnSearch_MayBay").click(function () {
        var soHieuMayBay = $("#ContentPlaceHolder1_ddlMayBay").val();


        $.ajax({
            type: "POST",
            url: "QuanLyMayBay.aspx/timKiemMayBay",
            data: "{soHieuMayBay: '" + soHieuMayBay + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#result").html(msg.d);
            }
        });

    });
    //////////////////////////////////////////////////////////////////////////
    $("#ContentPlaceHolder1_WUCTraCuuChuyenBay1_ddlSanBayDi").change(function () {

        var sanBay = $("#ContentPlaceHolder1_WUCTraCuuChuyenBay1_ddlSanBayDi").val();

        $.ajax({
            type: "POST",
            url: "ThayDoiLichTrinh.aspx/loadSanBayDen",
            data: "{sanBayDi: '" + sanBay + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#ContentPlaceHolder1_WUCTraCuuChuyenBay1_ddlSanBayDen").html(msg.d);
            }
        });
        ////////////////////////////////////////////////////////

    });
    $("#ContentPlaceHolder1_WUCTraCuuChuyenBay1_ddlSanBayDen").change(function () {

        var sanBay = $("#ContentPlaceHolder1_WUCTraCuuChuyenBay1_ddlSanBayDen").val();

        $.ajax({
            type: "POST",
            url: "ThayDoiLichTrinh.aspx/loadSanBayDi",
            data: "{sanBayDen: '" + sanBay + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#ContentPlaceHolder1_WUCTraCuuChuyenBay1_ddlSanBayDi").html(msg.d);
            }
        });
    });
    ///////////////////////////////////////////////////////////////////////////////////
    $("#ContentPlaceHolder1_datepickerdepart_chuyenBay").change(function () {

        var ngayDi = $("#ContentPlaceHolder1_datepickerdepart_chuyenBay").val();

        $.ajax({
            type: "POST",
            url: " XepLichBayChoKhachHang.aspx/layChuyenBay",
            data: "{ngayDi: '" + ngayDi + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#ContentPlaceHolder1_ddlChuyenBay").html(msg.d);

            }

        });

    });
    ///////////////////
    $("#ContentPlaceHolder1_txt_ngayDi_ChuyenBay").change(function () {

        var ngayDi = $("#ContentPlaceHolder1_txt_ngayDi_ChuyenBay").val();
        var maChangBay = $("#ContentPlaceHolder1_ddlChangBay").val();

        $.ajax({
            type: "POST",
            url: "QuanLyChuyenBay.aspx/loadMayBay",
            data: "{ngayDi: '" + ngayDi + "',maChangBay: '" + maChangBay + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#ContentPlaceHolder1_ddlSoHieuMB").html(msg.d);

            }
        });
    });
    $("#ContentPlaceHolder1_ddlChangBay").change(function () {

        var ngayDi = $("#ContentPlaceHolder1_txt_ngayDi_ChuyenBay").val();
        var maChangBay = $("#ContentPlaceHolder1_ddlChangBay").val();

        $.ajax({
            type: "POST",
            url: "QuanLyChuyenBay.aspx/loadMayBay",
            data: "{ngayDi: '" + ngayDi + "',maChangBay: '" + maChangBay + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#ContentPlaceHolder1_ddlSoHieuMB").html(msg.d);

            }
        });
    });
});
/***** DATEPICKER *****/
$(function () {
    $("#WUCTraCuuChuyenBay1_datepickerdepart").datepicker();
    $("#WUCTraCuuChuyenBay1_datepickergoing").datepicker();
});
$(function () {

    $("#ContentPlaceHolder1_datepickerdepart").datepicker();
    $("#ContentPlaceHolder1_datepickergoing").datepicker();
    $("#ContentPlaceHolder1_txtNgayHetHan").datepicker();
    $("#ContentPlaceHolder1_txtNgaySinh").datepicker();
    $("#ContentPlaceHolder1_datepickerdepart_chuyenBay").datepicker();
    $("#ContentPlaceHolder1_txtTuNgay").datepicker();
    $("#ContentPlaceHolder1_txtDenNgay").datepicker();
    $("#ContentPlaceHolder1_txt_ngayDi_ChuyenBay").datepicker();
    $("#ContentPlaceHolder1_txt_ngayDen_ChuyenBay").datepicker(); 
   
});

$(function () {
    $("#ContentPlaceHolder1_WUCTraCuuChuyenBay1_datepickerdepart,#ContentPlaceHolder1_WUCTraCuuChuyenBay1_datepickergoing,#ContentPlaceHolder1_txtNgayDi_chuyenBay_capNhat").datepicker({
        changeMonth: true,
        changeYear: true,
        yearRange: "2012:2017",
        dateFormat: "mm/dd/yy",
        minDate: 0,
        onClose: function (selectedDate) {
            $("#ContentPlaceHolder1_WUCTraCuuChuyenBay1_datepickergoing").datepicker("option", "minDate", (selectedDate) ? selectedDate : 0);
        }
    });
});
/***** DATEPICKER *****/
$(function () {
    $("#tabs").tabs();
});
function check() {

   
    var a = document.getElementsByName("hidden[]"); // ma hang ve di
    var a1 = document.getElementsByName("hidden1[]");// ma chuyen bay di
    var a2 = document.getElementsByName("hidden3[]");// gia di

    var a_chuyenve = document.getElementsByName("ChuyenVehidden[]"); // ma hang ve di
    var a1_chuyenve = document.getElementsByName("ChuyenVehidden1[]"); // ma chuyen bay di
    var a2_chuyenve = document.getElementsByName("ChuyenVehidden3[]"); // gia di

    var a3 = document.getElementById("ContentPlaceHolder1_hid2").value; //hiden field
    var chuyenbaydi ="";
    var chuyenbayve = "";
    var hangvedi = 0;
    var hangveve = 0;
    var mave = document.getElementById("ContentPlaceHolder1_hidMaVe").value
    var list = document.getElementsByName("check[]");
    var list1 = document.getElementsByName("ChuyenVecheck[]");
    var sum = 0.0;
    
    for (var i = 0; i < list.length; i++) {
        if (list[i].checked == true) {

            sum = sum + parseFloat(a2[i].value);
            chuyenbaydi = a1[i].value;
            hangvedi = a[i].value;

            
        }

    }
    for (var i = 0; i < list1.length; i++) {
        if (list1[i].checked == true) {

            sum = sum + parseFloat(a2_chuyenve[i].value);
            chuyenbayve = a1_chuyenve[i].value;
            hangveve = a_chuyenve[i].value;
           
        }

    }
   
    if(parseFloat(sum) < parseFloat(a3)) {
        
         $("#ContentPlaceHolder1_lbThongBao").empty();
        $("#ContentPlaceHolder1_lbThongBao").append("<span id = 'thong-bao-ket-Qua-Tim-Kiem'>Không Thỏa Mãn Quy Định Thay Đổi Lịch Trình</span>");

        
    }
    else {
        
        $("#ContentPlaceHolder1_lbThongBao").empty();
       window.location = "ThayDoiLichTrinhB2.aspx?id=" + mave + "&giave=" +a3+"&chuyenbaydi=" + chuyenbaydi + "&hangvedi=" + hangvedi + "&chuyenbayve=" + chuyenbayve + "&hangveve=" + hangveve;
       // alert("ThayDoiLichTrinhB2.aspx?id=" + mave + "&chuyenbaydi=" + chuyenbaydi + "&hangvedi=" + hangvedi + "&chuyenbayve=" + chuyenbayve + "&hangveve=" + hangveve);
      
    }


}
function search() {
    var xmlHttp10;
    if (window.XMLHttpRequest) {
        xmlHttp10 = new XMLHttpRequest();
    }
    else {
        xmlHttp10 = new ActiveXObject("Microsoft.XMLHTTP");
    }
    if (!xmlHttp10) {
        alert("giao thức không hỗ trợ ajax");
        return false;
    }
   
    var loai = $("#ContentPlaceHolder1_ddlLoaiThacMac").val();
    var trangThai = $("#ContentPlaceHolder1_ddlTrangThai").val();
    var key = $("#txttimkiem").val();
    loai = "%" + loai + "%";
    key = "%" + key + "%";
   
    xmlHttp10.onreadystatechange = function () {
        if (xmlHttp10.readyState == 4 && xmlHttp10.status == 200) {

            document.getElementById("ContentPlaceHolder1_lbTimKiem").innerHTML = xmlHttp10.responseText;

         

        }
    }


    var serverURL = "ajaxPaging.aspx?page=1&loai=" + loai + "&con=" + key + "&state=" + trangThai + "&t=" + (new Date()).getTime();

    xmlHttp10.open("GET", serverURL, true);

    xmlHttp10.send(null);

}
function searchcall_back(page) {


    var xmlHttp;
    if (window.XMLHttpRequest) {
        xmlHttp = new XMLHttpRequest();

    }
    else {
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    }
    if (!xmlHttp) {
        alert("giao thức không hỗ trợ ajax");
        return false;
    }

    var loai = $("#ContentPlaceHolder1_ddlLoaiThacMac").val();
    var trangThai = $("#ContentPlaceHolder1_ddlTrangThai").val();
    var key = $("#txttimkiem").val();
    if (key == "Nhập nội dung rao vặt cần tìm kiếm...")
        key = "";
  
    loai = "%" + loai + "%";
    key = "%" + key + "%";

    var page1 = page;

    var serverURL = "ajaxPaging.aspx?page=" + page1 + "&loai=" + loai + "&con=" + key + "&state=" + trangThai + "&t=" + (new Date()).getTime();
    xmlHttp.onreadystatechange = function () {
        if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
            document.getElementById("ContentPlaceHolder1_lbTimKiem").innerHTML = xmlHttp.responseText;
           
        }
    }

    xmlHttp.open("GET", serverURL, true);

    xmlHttp.send(null);

}
/* Đặt Vé */

function checkBookingTicket() {


    var a = document.getElementsByName("hidden[]"); // ma hang ve di
    var a1 = document.getElementsByName("hidden1[]"); // ma chuyen bay di
    var a2 = document.getElementsByName("hidden3[]"); // gia di

    var a_chuyenve = document.getElementsByName("ChuyenVehidden[]"); // ma hang ve ve
    var a1_chuyenve = document.getElementsByName("ChuyenVehidden1[]"); // ma chuyen bay ve
    var a2_chuyenve = document.getElementsByName("ChuyenVehidden3[]"); // gia ve

    //var a3 = document.getElementById("ContentPlaceHolder1_hid2").value; //hiden field
    var chuyenbaydi = "";
    var chuyenbayve = "";
    var hangvedi = 0;
    var hangveve = 0;
  //  var mave = document.getElementById("ContentPlaceHolder1_hidMaVe").value
    var list = document.getElementsByName("check[]");
    var list1 = document.getElementsByName("ChuyenVecheck[]");
    var doiTuong = $("#ContentPlaceHolder1_ddlDoiTuong").val();
    var sum = 0.0;
    var flag;
    flag = false;

    for (var i = 0; i < list.length; i++) {
        if (list[i].checked == true) {

            sum = sum + parseFloat(a2[i].value);
            chuyenbaydi = a1[i].value;
            hangvedi = a[i].value;
            flag = true;

        }

    }
    for (var i = 0; i < list1.length; i++) {
        if (list1[i].checked == true) {

            sum = sum + parseFloat(a2_chuyenve[i].value);
            chuyenbayve = a1_chuyenve[i].value;
            hangveve = a_chuyenve[i].value;
            flag = true;
        }

    }

    if (flag == false) {

        $("#ContentPlaceHolder1_lbThongBao").empty();
        $("#ContentPlaceHolder1_lbThongBao").append("<span id = 'thong-bao-ket-Qua-Tim-Kiem'>Vui lòng chọn giá vé để đi</span>");


    }
    else {

        $("#ContentPlaceHolder1_lbThongBao").empty();
        window.location = "DatVeB2.aspx?chuyenbaydi=" + chuyenbaydi + "&hangvedi=" + hangvedi + "&chuyenbayve=" + chuyenbayve + "&hangveve=" + hangveve + "&sum="+ sum+ "&doiTuong=" + doiTuong;
        // alert("ThayDoiLichTrinhB2.aspx?id=" + mave + "&chuyenbaydi=" + chuyenbaydi + "&hangvedi=" + hangvedi + "&chuyenbayve=" + chuyenbayve + "&hangveve=" + hangveve);

    }


}

